<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<jsp:include page="../private/header.jsp" />
<title>Gis app</title>
</head>
<body onload="initialize()">
	<div id="content">		
		<jsp:include page="../private/menu.jsp" />
		<div id="map"></div>
		Create: 
		<form id="poiform" method="POST" action="createpoi.html">

			<select name="templateid" id="templates" onChange="getTemplate();">
			 	<c:forEach var="template" items="${poitemplates}" >
					<option value="${template.id}">${template.name}</option>
	 			</c:forEach>
			</select>
			
		<jsp:include page="../private/create.jsp" />
		
		<input type="submit" value="Create" onClick="savePoi();"><br> 
	</form>		
    </div> 
</body>
</html>